import { Message } from 'element-ui'

export function message(type, message) {
    Message({
        showClose: true,
        type,
        message
    })
}

 export function messageType()  {
    return {
        success: 'success',
        warning: 'warning',
        error: 'error',
        info: 'info',
    }
} 
